package org.aom.service.security.impl;

import org.aom.dao.security.ResourceDao;
import org.aom.entity.security.Resource;
import org.aom.service.base.EntityManager;
import org.aom.service.security.IResourceManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service(value="resourceManager")
@Transactional
public class ResourceManager extends EntityManager<Resource, Long> implements IResourceManager{

	@Autowired
	ResourceDao resourceDao;

	@Override
	protected ResourceDao getEntityDao() {
		return resourceDao;
	}
}
